﻿<style type='text/css'>

    span.score-name {
    width: 50px;
    float: left;
    padding-right: 10px;
    text-align: right;
    color: #000000;
    font-weight: bold;
    }

    .incident-score {
        list-style-type: none;
        margin: 4px 0 0 0;
        padding: 0;
        display: inline-block;
        float: left;
    }

    .empty-bullet {
        float: left;
        width: 10px;
        height: 10px;
        margin-right: 3px;
        background-color: #ffffff;
        border-radius: 14px;
        border: 1px solid #000000;
    }

    .filled-impact-bullet {
        float: left;
        width: 10px;
        height: 10px;
        margin-right: 3px;
        border-radius: 14px;
        border: 1px solid #000000;
        background-color: #a0a0a0;
    }
    .filled-risk-bullet {
        float: left;
        width: 10px;
        height: 10px;
        margin-right: 3px;
        border-radius: 14px;
        border: 1px solid #000000;
        background-color: #76b5b0;
    }

    .trend-arow-up {
        float: left;
        width: 12px;
        background-size: 12px !important;
        background: transparent url(../Content/Images/icn-trend-up.png) no-repeat center center;
    }  
    .trend-arow-right {
        float: left;
        width: 12px;
        background-size: 12px !important;
        background: transparent url(../Content/Images/icn-trend-right.png) no-repeat center center;
    }
    .trend-arow-down {
        float: left;
        width: 12px;
        background-size: 12px !important;
        background: transparent url(../Content/Images/icn-trend-down.png) no-repeat center center;
    }

</style>

<div style="float: left; width: 200px;">
    <div style="margin-bottom: 10px;">
        <span class="score-name">
            Impact:
        </span>
        <ul class="incident-score">
            <li class="empty-bullet" ng-repeat="score in scores" ng-class="{ 'filled-impact-bullet' : isImpactBulletHighlighted(score)}"></li>
        </ul>
        <div ng-class="{ 'trend-arow-up' : impactTrend == 1, 'trend-arow-right' : impactTrend == 0, 'trend-arow-down' : impactTrend == -1}">&nbsp;</div>
        <div class="clear">&nbsp;</div>
    </div>
    <div style="margin-bottom: 10px;">
        <span class="score-name">
            Risk:
        </span>
        <ul class="incident-score">
            <li class="empty-bullet" ng-repeat="score in scores" ng-class="{ 'filled-risk-bullet' : isRiskBulletHighlighted(score)}"></li>
        </ul>
        <div ng-class="{ 'trend-arow-up' : riskTrend == 1, 'trend-arow-right' : riskTrend == 0, 'trend-arow-down' : riskTrend == -1}">&nbsp;</div>
        <div class="clear">&nbsp;</div>
    </div>
</div>